//  [9/18/2013 OMEGA] created

#ifndef _DUELASSEIMPORTRESOURCEDLG_H_
#define _DUELASSEIMPORTRESOURCEDLG_H_

#include <QtWidgets/QDialog>
#include <QtWidgets/QFileSystemModel>
#include "DuelAssetEditor.h"
#include "DuelAssENoFocusDelegate.h"
#include "ui_DuelAssEImportResourceDlg.h"


class DAssEImportResourceDlg : public QDialog
{
	Q_OBJECT
public:
	DAssEImportResourceDlg(QWidget* parent = 0);

	// path should be full path of the archive's directory.
	void		setOpenFolder(const QString& path, const QString& archName);		
	void		setExludeFiles(const QStringList& list);

	QStringList	getSelectedFiles();
	// override : QDialog---------------------------------
	int		exec();

protected:
	Ui::DuelAssEImportResourceDlg ui;
	QFileSystemModel	mModel;
	QString				mPath;
	QString				mDestArchiveName;
	QStringList			mExcludeFiles;
	NoFocusDelegate		mItemDelegate;
};


#endif